package com.xhdx.staticno;

public class Child extends Parent{
    static {
        System.out.println("Child-静态代码块执行");
    }

    public Child() {
        System.out.println("Child-构造方法执行");
    }

    {
        System.out.println("Child-非静态代码块执行");
    }

    public static void main(String[] args) {
        @SuppressWarnings("unused")
        Child child = new Child();
    }
}